Skip to content

[V2 Shims] Introduce locking at guestmanager layer#2638

Open
rawahars wants to merge 1 commit intomicrosoft:mainfrom
rawahars:lock-vm-interactions
Open

[V2 Shims] Introduce locking at guestmanager layer#2638
rawahars wants to merge 1 commit intomicrosoft:mainfrom
rawahars:lock-vm-interactions

Conversation

@rawahars
Copy link
Contributor

@rawahars rawahars commented Mar 19, 2026

guestmanager component is responsible for interacting with the guest agent to perform actions within the guest. There is no locking applicable directly at the GCSConnection level and therefore, we introduce locking at this layer to prevent race conditions under concurrency scenarios.

We do not need mutex locks in vmmanager as it works directly on the compute system handle which locks the requests and handles concurrency.

@rawahars rawahars requested a review from a team as a code owner March 19, 2026 19:57
Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars force-pushed the lock-vm-interactions branch from 5b6939c to 8d94687 Compare March 20, 2026 11:59
@rawahars rawahars changed the title [V2 Shims] Introduce locking at vmmanager and guestmanager layers [V2 Shims] Introduce locking at guestmanager layer Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant